package cn.jdy.common.init;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import java.util.Date;

public class InitServlet extends HttpServlet {
	public static Date startime = new Date();// 获取servlet容器启动时间

	@Override
	public void init(ServletConfig config) throws ServletException {
		super.init();
	  	/* 初始servlet配置信息 */
		super.init(config);
		startime = new Date();
	}
}
